export const myRoutes: any = [
  {
    path: '/dashboard',
    title: '仪表盘',
    icon: 'icon-menu-work',
    redirect: '/dashboard/data',
    children: [
      {
        path: '/dashboard/data',
        title: '数据',
        redirect: '/dashboard/data/workplace',
        children: [
          {
            path: '/dashboard/data/workplace',
            component: import('../views/dashboard/workplace/index.vue'),
            title: '工作台',
          },
        ],
      },
    ],
  },

  {
    path: '/goods',
    component: import('@/views/goods/index.vue'),
    title: '商品',
    icon: 'icon-menu-goods',
    redirect: '/goods/manager',
    children: [
      {
        path: '/goods/manager',
        title: '商品管理',
        redirect: '/dashboard/data/workplace',
        children: [
          {
            path: '/goods/manager/list',
            component: import('../views/goods/list/index.vue'),
            title: '商品列表',
          },
        ],
      },
    ],
  },
]
